package com.ylr.template;

/**
 * @author ylr
 * @version 1.0.0
 * @ClassName AbstractService.java
 * @Description TODO
 * @createTime 2022年01月08日 15:20:00
 */
public abstract class AbstractService <T extends Object>{

    public static AbstractService getService(String beanName){
            return TemplateFactory.getTemplateBean(beanName);
    }

    /**
     * sayHello
     * @param t
     * @return
     */
    public abstract T sayHello(T t);

}
